<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <script>if (window.top !== window.self) window.top.location = window.location</script>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="/public/js/html5shiv.js"></script>
    <script type="text/javascript" src="/public/js/respond.min.js"></script>
    <![endif]-->
    <link href="/public/plugins/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
    <link href="/public/plugins/validator/jquery.validator.css" rel="stylesheet" type="text/css">
    <link href="/public/plugins/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
    <link href="/public/plugins/h-ui.admin/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/public/plugins/Hui-iconfont/iconfont.css?v=1.0.8" rel="stylesheet" type="text/css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="/public/js/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>后台登录 - 快方管理后台</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
</head>
<body>
<div class="header">快方管理系统</div>
<div class="loginWraper">
    <div id="login-form" class="loginBox">
        <form class="form form-horizontal n-inner" method="post">
            <div class="row cl">
                <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
                <div class="formControls col-xs-8">
                    <input id="mno" name="mno" type="text" placeholder="手机号" class="input-text size-L">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
                <div class="formControls col-xs-8">
                    <input id="pwd" name="pwd" type="password" placeholder="密码" class="input-text size-L">
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-8 col-xs-offset-3 cl" id="verify-code">
                    <span class="input-text size-L get">点击获取验证码</span>
                    <div style="position: absolute; bottom: 33px; left: 15px; z-index: 9999">
                        <img class="hidden img">
                    </div>
                    <a class="refresh" id="kanbuq" href="javascript:;">点击换一个</a>
                    <input id="code" name="code" type="hidden">
                    <span class="msg-box" for="code" style="margin-top:4px;top:0"></span>
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-8 col-xs-offset-3">
                    <input name="" type="submit" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
                </div>
            </div>
        </form>
    </div>
</div>
<div class="footer">Copyright 快方管理后台</div>
<script type="text/javascript" src="/public/js/jquery.min.js?v=1.9.1"></script>
<script type="text/javascript" src="/public/plugins/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="/public/plugins/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="/public/plugins/layer/layer.js?v=2.4"></script>
<script type="text/javascript" src="/public/plugins/validator/jquery.validator.js"></script>
<script type="text/javascript">
    $('#verify-code').verifyCode({
        success: function () { $('#code').val('1'); },
        error: function () { }
    });
    $('#login-form').validator_form({
        fields: {
            mno: '手机号:required',
            pwd: '密码:required;',
            code: '验证码:required'
        }
    },{
        success: function (data) {
            if (data.status) window.location.href = data.url;
            else layer.msg(data.info || '登录失败，请重试', {icon: 5});
        },
        info: '登录失败，请重试！'
    });
</script>
</body>
</html>